]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
authPrompt: Make actor reactive
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 25 Jan 2022 17:09:05 +0000 (18:09 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Sat, 29 Jan 2022 00:16:29 +0000 (01:16 +0100)
The actor is non-reactive, but has a key event handler to handle
the Esc key on the auth prompt. Mark this actor as reactive, so
it can handle the events.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2045>

js/gdm/authPrompt.js

index 66cd71e2e44cbf805fa7ae4217071d47f60d937e..01ece6bd0572d7e9f51e1ff810bc4dbb2958557c 100644 (file)
@@ -55,6 +55,7 @@ var AuthPrompt = GObject.registerClass({
             vertical: true,
             x_expand: true,
             x_align: Clutter.ActorAlign.CENTER,
+            reactive: true,
         });
 
         this.verificationStatus = AuthPromptStatus.NOT_VERIFYING;